<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta name="generator" content=
  "HTML Tidy for Linux/x86 (vers 25 March 2009), see www.w3.org" />

  <title>ASCIIMath Editor</title>
<link rel="stylesheet" href="syntax/css/shCoreDefault.css" type="text/css" media=  "screen" />
  <link rel="stylesheet" href="pmathmlstyle.css" type="text/css" media=
  "screen" />
  <script src="jquery-1.4.2.min.js" type="text/javascript">
</script>
  <script src="jquery.xml.min.js" type="text/javascript">
</script>
  <script type="text/javascript" src="asciimathml.min.js">
</script>
  <script src="pmathmlscript.js" type="text/javascript">
</script>
  <script type="text/javascript" src="asciimathmleditor.js">
</script>
  <script type="text/javascript" src="syntax/js/shCore.js">
</script>  <script type="text/javascript" src="syntax/js/shBrushXml.js">
</script>

  <style type="text/css">
/*<![CDATA[*/
body .syntaxhighlighter .line {white-space: pre-wrap !important;}

#outputNode {border:3pt double;width:100%;height:25em;overflow:scroll}
#inputText {border:3pt double;height:10em;width:100%}

#inputText:hover,#outputNode:hover {border-color: blue}
  /*]]>*/
  </style>
</head>

<body>
  <h1>ASCIIMathML Editor 2.0</h1>

 

<p><b>Display</b>&nbsp; <button>Update</button>&nbsp; <button>View_MathML</button> <button>Download</button></p>
        <div id="outputNode">
          &nbsp;
        </div>
      <textarea id="inputText">
For example `int_-1^1 sqrt(1-x^2)dx = pi/2`,

`((a,b),(c,d))^-1 = 1/(ad-bc)((d,-b),(-c,a))`

and $\sinh x=\frac{e^x-e^{-x}}{2}$.

amath
Or try ASCIIMath without delimiters: like x^2 or sin x
endamath

Graph:

\begin{graph} plot("sin(x)") \end{graph}
</textarea>
<p>Note that this is dynamic HTML running locally on your machine! If
  you leave or refresh this page before copying and saving your work, it may
  disappear.</p>
  <hr />

  <table border="5" cellpadding="10" summary="ASCIIMathML commands">
    <caption>
      ASCIIMathML Commands
    </caption>

    <tr valign="top">
      <td>
        Operation symbols

        <table border="5" cellpadding="10" summary="Operation symbols">
          <tr>
            <th>Type</th>

            <th>See</th>
          </tr>

          <tr>
            <td>+</td>

            <td>`+`</td>
          </tr>

          <tr>
            <td>-</td>

            <td>`-`</td>
          </tr>

          <tr>
            <td>*</td>

            <td>`*`</td>
          </tr>

          <tr>
            <td>**</td>

            <td>`**`</td>
          </tr>

          <tr>
            <td>//</td>

            <td>`//`</td>
          </tr>

          <tr>
            <td>\\</td>

            <td>`\\ `</td>
          </tr>

          <tr>
            <td>xx</td>

            <td>`xx`</td>
          </tr>

          <tr>
            <td>-:</td>

            <td>`-:`</td>
          </tr>

          <tr>
            <td>@</td>

            <td>`@`</td>
          </tr>

          <tr>
            <td>o+</td>

            <td>`o+`</td>
          </tr>

          <tr>
            <td>ox</td>

            <td>`ox`</td>
          </tr>

          <tr>
            <td>o.</td>

            <td>`o.`</td>
          </tr>

          <tr>
            <td>sum</td>

            <td>`sum`</td>
          </tr>

          <tr>
            <td>prod</td>

            <td>`prod`</td>
          </tr>

          <tr>
            <td>^^</td>

            <td>`^^`</td>
          </tr>

          <tr>
            <td>^^^</td>

            <td>`^^^`</td>
          </tr>

          <tr>
            <td>vv</td>

            <td>`vv`</td>
          </tr>

          <tr>
            <td>vvv</td>

            <td>`vvv`</td>
          </tr>

          <tr>
            <td>nn</td>

            <td>`nn`</td>
          </tr>

          <tr>
            <td>nnn</td>

            <td>`nnn`</td>
          </tr>

          <tr>
            <td>uu</td>

            <td>`uu`</td>
          </tr>

          <tr>
            <td>uuu</td>

            <td>`uuu`</td>
          </tr>
        </table>
      </td>

      <td>
        Relation symbols

        <table border="5" cellpadding="10" summary="Relation symbols">
          <tr>
            <th>Type</th>

            <th>See</th>
          </tr>

          <tr>
            <td>=</td>

            <td>`=`</td>
          </tr>

          <tr>
            <td>!=</td>

            <td>`!=`</td>
          </tr>

          <tr>
            <td>&lt;</td>

            <td>`&lt;`</td>
          </tr>

          <tr>
            <td>&gt;</td>

            <td>`&gt;`</td>
          </tr>

          <tr>
            <td>&lt;=</td>

            <td>`&lt;=`</td>
          </tr>

          <tr>
            <td>&gt;=</td>

            <td>`&gt;=`</td>
          </tr>

          <tr>
            <td>-&lt;</td>

            <td>`-&lt;`</td>
          </tr>

          <tr>
            <td>&gt;-</td>

            <td>`&gt;-`</td>
          </tr>

          <tr>
            <td>in</td>

            <td>`in`</td>
          </tr>

          <tr>
            <td>!in</td>

            <td>`notin`</td>
          </tr>

          <tr>
            <td>sub</td>

            <td>`sub`</td>
          </tr>

          <tr>
            <td>sup</td>

            <td>`sup`</td>
          </tr>

          <tr>
            <td>sube</td>

            <td>`sube`</td>
          </tr>

          <tr>
            <td>supe</td>

            <td>`supe`</td>
          </tr>

          <tr>
            <td>-=</td>

            <td>`-=`</td>
          </tr>

          <tr>
            <td>~=</td>

            <td>`~=`</td>
          </tr>

          <tr>
            <td>~~</td>

            <td>`~~`</td>
          </tr>

          <tr>
            <td>prop</td>

            <td>`prop`</td>
          </tr>
        </table>
      </td>

      <td>
        Logical symbols

        <table border="5" cellpadding="10" summary="Logical symbols">
          <tr>
            <th>Type</th>

            <th>See</th>
          </tr>

          <tr>
            <td>and</td>

            <td>`and`</td>
          </tr>

          <tr>
            <td>or</td>

            <td>`or`</td>
          </tr>

          <tr>
            <td>not</td>

            <td>`not`</td>
          </tr>

          <tr>
            <td>=&gt;</td>

            <td>`=&gt;`</td>
          </tr>

          <tr>
            <td>if</td>

            <td>`if`</td>
          </tr>

          <tr>
            <td>iff</td>

            <td>`iff`</td>
          </tr>

          <tr>
            <td>AA</td>

            <td>`AA`</td>
          </tr>

          <tr>
            <td>EE</td>

            <td>`EE`</td>
          </tr>

          <tr>
            <td>_|_</td>

            <td>`_|_`</td>
          </tr>

          <tr>
            <td>TT</td>

            <td>`TT`</td>
          </tr>

          <tr>
            <td>|--</td>

            <td>`|--`</td>
          </tr>

          <tr>
            <td>|==</td>

            <td>`|==`</td>
          </tr>
        </table>

        <p>Grouping brackets</p>

        <table border="5" cellpadding="10" summary="">
          <tr>
            <th>Type</th>

            <th>See</th>
          </tr>

          <tr>
            <td>(</td>

            <td>`(`</td>
          </tr>

          <tr>
            <td>)</td>

            <td>`)`</td>
          </tr>

          <tr>
            <td>[</td>

            <td>`[`</td>
          </tr>

          <tr>
            <td>]</td>

            <td>`]`</td>
          </tr>

          <tr>
            <td>{</td>

            <td>`{`</td>
          </tr>

          <tr>
            <td>}</td>

            <td>`}`</td>
          </tr>

          <tr>
            <td>(:</td>

            <td>`(:`</td>
          </tr>

          <tr>
            <td>:)</td>

            <td>`:)`</td>
          </tr>

          <tr>
            <td>{:</td>

            <td>`{:`</td>
          </tr>

          <tr>
            <td>:}</td>

            <td>`{::}`</td>
          </tr>
        </table>
      </td>

      <td>
        Greek letters

        <table border="5" cellpadding="10" summary="Greek letters">
          <tr>
            <th>Type</th>

            <th>See</th>
          </tr>

          <tr>
            <td>alpha</td>

            <td>`alpha`</td>
          </tr>

          <tr>
            <td>beta</td>

            <td>`beta`</td>
          </tr>

          <tr>
            <td>chi</td>

            <td>`chi`</td>
          </tr>

          <tr>
            <td>delta</td>

            <td>`delta`</td>
          </tr>

          <tr>
            <td>Delta</td>

            <td>`Delta`</td>
          </tr>

          <tr>
            <td>epsilon</td>

            <td>`epsilon`</td>
          </tr>

          <tr>
            <td>varepsilon</td>

            <td>`varepsilon`</td>
          </tr>

          <tr>
            <td>eta</td>

            <td>`eta`</td>
          </tr>

          <tr>
            <td>gamma</td>

            <td>`gamma`</td>
          </tr>

          <tr>
            <td>Gamma</td>

            <td>`Gamma`</td>
          </tr>

          <tr>
            <td>iota</td>

            <td>`iota`</td>
          </tr>

          <tr>
            <td>kappa</td>

            <td>`kappa`</td>
          </tr>

          <tr>
            <td>lambda</td>

            <td>`lambda`</td>
          </tr>

          <tr>
            <td>Lambda</td>

            <td>`Lambda`</td>
          </tr>

          <tr>
            <td>mu</td>

            <td>`mu`</td>
          </tr>

          <tr>
            <td>nu</td>

            <td>`nu`</td>
          </tr>

          <tr>
            <td>omega</td>

            <td>`omega`</td>
          </tr>

          <tr>
            <td>Omega</td>

            <td>`Omega`</td>
          </tr>

          <tr>
            <td>phi</td>

            <td>`phi`</td>
          </tr>

          <tr>
            <td>varphi</td>

            <td>`varphi`</td>
          </tr>

          <tr>
            <td>Phi</td>

            <td>`Phi`</td>
          </tr>

          <tr>
            <td>pi</td>

            <td>`pi`</td>
          </tr>

          <tr>
            <td>Pi</td>

            <td>`Pi`</td>
          </tr>

          <tr>
            <td>psi</td>

            <td>`psi`</td>
          </tr>

          <tr>
            <td>Psi</td>

            <td>`Psi`</td>
          </tr>

          <tr>
            <td>rho</td>

            <td>`rho`</td>
          </tr>

          <tr>
            <td>sigma</td>

            <td>`sigma`</td>
          </tr>

          <tr>
            <td>Sigma</td>

            <td>`Sigma`</td>
          </tr>

          <tr>
            <td>tau</td>

            <td>`tau`</td>
          </tr>

          <tr>
            <td>theta</td>

            <td>`theta`</td>
          </tr>

          <tr>
            <td>vartheta</td>

            <td>`vartheta`</td>
          </tr>

          <tr>
            <td>Theta</td>

            <td>`Theta`</td>
          </tr>

          <tr>
            <td>upsilon</td>

            <td>`upsilon`</td>
          </tr>

          <tr>
            <td>xi</td>

            <td>`xi`</td>
          </tr>

          <tr>
            <td>Xi</td>

            <td>`Xi`</td>
          </tr>

          <tr>
            <td>zeta</td>

            <td>`zeta`</td>
          </tr>
        </table>
      </td>

      <td>
        Miscellaneous symbols

        <table border="5" cellpadding="10" summary="Miscellaneous symbols">
          <tr>
            <th>Type</th>

            <th>See</th>
          </tr>

          <tr>
            <td>int</td>

            <td>`int`</td>
          </tr>

          <tr>
            <td>oint</td>

            <td>`oint`</td>
          </tr>

          <tr>
            <td>del</td>

            <td>`del`</td>
          </tr>

          <tr>
            <td>grad</td>

            <td>`grad`</td>
          </tr>

          <tr>
            <td>+-</td>

            <td>`+-`</td>
          </tr>

          <tr>
            <td>O/</td>

            <td>`O/`</td>
          </tr>

          <tr>
            <td>oo</td>

            <td>`oo`</td>
          </tr>

          <tr>
            <td>aleph</td>

            <td>`aleph`</td>
          </tr>

          <tr>
            <td>/_</td>

            <td>`/_`</td>
          </tr>

          <tr>
            <td>:.</td>

            <td>`:.`</td>
          </tr>

          <tr>
            <td>|...|</td>

            <td>|`...`|</td>
          </tr>

          <tr>
            <td>|cdots|</td>

            <td>|`cdots`|</td>
          </tr>

          <tr>
            <td>vdots</td>

            <td>`vdots`</td>
          </tr>

          <tr>
            <td>ddots</td>

            <td>`ddots`</td>
          </tr>

          <tr>
            <td>|\ |</td>

            <td>|`\ `|</td>
          </tr>

          <tr>
            <td>|quad|</td>

            <td>|`quad`|</td>
          </tr>

          <tr>
            <td>diamond</td>

            <td>`diamond`</td>
          </tr>

          <tr>
            <td>square</td>

            <td>`square`</td>
          </tr>

          <tr>
            <td>|__</td>

            <td>`|__`</td>
          </tr>

          <tr>
            <td>__|</td>

            <td>`__|`</td>
          </tr>

          <tr>
            <td>|~</td>

            <td>`|~`</td>
          </tr>

          <tr>
            <td>~|</td>

            <td>`~|`</td>
          </tr>

          <tr>
            <td>CC</td>

            <td>`CC`</td>
          </tr>

          <tr>
            <td>NN</td>

            <td>`NN`</td>
          </tr>

          <tr>
            <td>QQ</td>

            <td>`QQ`</td>
          </tr>

          <tr>
            <td>RR</td>

            <td>`RR`</td>
          </tr>

          <tr>
            <td>ZZ</td>

            <td>`ZZ`</td>
          </tr>
        </table>
      </td>

      <td>
        Standard functions

        <table border="5" cellpadding="10" summary="Standard functions">
          <tr>
            <th>Type</th>

            <th>See</th>
          </tr>

          <tr>
            <td>sin</td>

            <td>`sin`</td>
          </tr>

          <tr>
            <td>cos</td>

            <td>`cos`</td>
          </tr>

          <tr>
            <td>tan</td>

            <td>`tan`</td>
          </tr>

          <tr>
            <td>csc</td>

            <td>`csc`</td>
          </tr>

          <tr>
            <td>sec</td>

            <td>`sec`</td>
          </tr>

          <tr>
            <td>cot</td>

            <td>`cot`</td>
          </tr>

          <tr>
            <td>sinh</td>

            <td>`sinh`</td>
          </tr>

          <tr>
            <td>cosh</td>

            <td>`cosh`</td>
          </tr>

          <tr>
            <td>tanh</td>

            <td>`tanh`</td>
          </tr>

          <tr>
            <td>log</td>

            <td>`log`</td>
          </tr>

          <tr>
            <td>ln</td>

            <td>`ln`</td>
          </tr>

          <tr>
            <td>det</td>

            <td>`det`</td>
          </tr>

          <tr>
            <td>dim</td>

            <td>`dim`</td>
          </tr>

          <tr>
            <td>lim</td>

            <td>`lim`</td>
          </tr>

          <tr>
            <td>mod</td>

            <td>`mod`</td>
          </tr>

          <tr>
            <td>gcd</td>

            <td>`gcd`</td>
          </tr>

          <tr>
            <td>lcm</td>

            <td>`lcm`</td>
          </tr>

          <tr>
            <td>min</td>

            <td>`min`</td>
          </tr>

          <tr>
            <td>max</td>

            <td>`max`</td>
          </tr>
        </table>

        <p>Accents</p>

        <table border="5" cellpadding="10" summary="Accents">
          <tr>
            <th>Type</th>

            <th>See</th>
          </tr>

          <tr>
            <td>hat x</td>

            <td>`hat x`</td>
          </tr>

          <tr>
            <td>bar x</td>

            <td>`bar x`</td>
          </tr>

          <tr>
            <td>ul x</td>

            <td>`ul x`</td>
          </tr>

          <tr>
            <td>vec x</td>

            <td>`vec x`</td>
          </tr>

          <tr>
            <td>dot x</td>

            <td>`dot x`</td>
          </tr>

          <tr>
            <td>ddot x</td>

            <td>`ddot x`</td>
          </tr>
        </table>
      </td>

      <td>
        Arrows

        <table border="5" cellpadding="10" summary="Arrows">
          <tr>
            <th>Type</th>

            <th>See</th>
          </tr>

          <tr>
            <td>uarr</td>

            <td>`uarr`</td>
          </tr>

          <tr>
            <td>darr</td>

            <td>`darr`</td>
          </tr>

          <tr>
            <td>rarr</td>

            <td>`rarr`</td>
          </tr>

          <tr>
            <td>-&gt;</td>

            <td>`-&gt;`</td>
          </tr>

          <tr>
            <td>|-&gt;</td>

            <td>`|-&gt;`</td>
          </tr>

          <tr>
            <td>larr</td>

            <td>`larr`</td>
          </tr>

          <tr>
            <td>harr</td>

            <td>`harr`</td>
          </tr>

          <tr>
            <td>rArr</td>

            <td>`rArr`</td>
          </tr>

          <tr>
            <td>lArr</td>

            <td>`lArr`</td>
          </tr>

          <tr>
            <td>hArr</td>

            <td>`hArr`</td>
          </tr>
        </table>

        <p>Font commands</p>

        <table border="5" cellpadding="10" summary="Font commands">
          <tr>
            <th>Type</th>

            <th>See</th>
          </tr>

          <tr>
            <td>bb A</td>

            <td>`bb A`</td>
          </tr>

          <tr>
            <td>bbb A</td>

            <td>`bbb A`</td>
          </tr>

          <tr>
            <td>cc A</td>

            <td>`cc A`</td>
          </tr>

          <tr>
            <td>tt A</td>

            <td>`tt A`</td>
          </tr>

          <tr>
            <td>fr A</td>

            <td>`fr A`</td>
          </tr>

          <tr>
            <td>sf A</td>

            <td>`sf A`</td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <hr />

  <table border="1" width="100%" summary="ASCIISVG Commands">
    <caption>
      ASCIISVG Commands
    </caption>

    <tr>
      <td>initPicture( xmin, xmax {, ymin {, ymax}} ) &nbsp; &nbsp;</td>

      <td>border = "pixelvalue" (default 25)</td>
    </tr>

    <tr>
      <td>grid( {dx, dy} )</td>

      <td>axes( {dx, dy, {"labels"}} )</td>
    </tr>

    <tr>
      <td>line( [x,y], [u,v] )</td>

      <td>marker = "dot" | "arrow" | "arrowdot" | "none"</td>
    </tr>

    <tr>
      <td>path( [ [x1,y1], [x2,y2], ..., [xn,yn] ] )</td>

      <td>curve( [ [x1,y1], [x2,y2], ..., [xn,yn] ] )</td>
    </tr>

    <tr>
      <td>plot( "f(x)" {, xmin, xmax, npoints} )</td>

      <td>plot( [ "f(t)", "g(t)" ] {, tmin, tmax, npoints} )</td>
    </tr>

    <tr>
      <td>stroke = "<a href=
      "http://www.spacetoday.org/BoilerRoom/Colors.html">color</a>"</td>

      <td>strokewidth = "pixelvalue" (default 1)</td>
    </tr>

    <tr>
      <td>fill = "<a href=
      "http://www.spacetoday.org/BoilerRoom/Colors.html">color</a>"</td>

      <td>strokedasharray = "dashpixel spacepixel"</td>
    </tr>

    <tr>
      <td>fontsize = "pixel" (default 20)</td>

      <td>fontweight = "bold" | "normal"</td>
    </tr>

    <tr>
      <td>fontstyle = "italic" | "normal"</td>

      <td>fontfamily = "serif"|"sansserif"|"fixed"|"monotype"</td>
    </tr>

    <tr>
      <td>circle( [x,y], r )</td>

      <td>ellipse( [x,y], rx, ry )</td>
    </tr>

    <tr>
      <td>arc( [x,y], [u,v], r )</td>

      <td>rect( [x,y], [u,v] )</td>
    </tr>

    <tr>
      <td>text( [x,y], "label" {, position} )</td>

      <td>dot( [x,y] {, "open"|"closed" {, "label", position} )</td>
    </tr>

    <tr>
      <td><b>position</b> can be: <b>above, below, left, right,</b></td>

      <td>aboveleft, aboveright, belowleft, belowright, null</td>
    </tr>
  </table>
 </body>
</html>

